package com.thyme.content.feignclient;

import com.thyme.content.domain.dto.user.UserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author thyme
 * @ClassName CenterUserTestFeignClient
 * @Description TODO
 * @Date 2019/11/7 16:30
 */
@FeignClient(name = "center-user")
public interface CenterUserTestFeignClient {

    @GetMapping("/users/test")
    UserDTO user(@SpringQueryMap UserDTO userDTO);
}
